EIP4844: Remove reliance on py-ecc types in polynomial-commitments and add py-arkworks#3272
EIP4844: Remove reliance on py-ecc types in polynomial-commitments and add py-arkworks#3272kevaundray wants to merge 18 commits intoethereum:devfrom
Conversation
cbeb7cf to
f59dd7c
Compare
df9167f to
dbfb1ac
Compare
|
((Moving arkworks discussion to this PR)) Hey @kevaundray, I just realized my PyPy3.9 was built with Also, for completeness, it would be nice to upload macos Python3.9 distributions too. 🙏 |
@hwwhww I've added 3.8 to 3.11 along with source distributions in version 0.3.4, please let me know if anything else is missing :) |
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
|
Closing as this was merged into #3274 which was merged into |

Description
Currently the polynomial-commitments file relies on py-ecc types and methods. This can be seen with the usage of bls.Z1 and bls.G1. If we do plan to use another library, removing this decoupling is a necessary pre-requisite.
Changes
py_eccprefixNote
I have intentionally not tried to change method names, so the changes in polynomial-commitments are easy to grep.
EDIT: